home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
windows
/
games
/
wincapt.arj
/
DIBUTIL.H
< prev
next >
Wrap
Text File
|
1992-03-20
|
682b
|
24 lines
/*
* dibutil.h
*
* Copyright (c) 1991 Microsoft Corporation. All rights reserved.
*
* Header file for Device-Independent Bitmap (DIB) API. Provides
* function prototypes and constants for the following functions:
*
* AllocRoomForDIB() - Allocates memory for a DIB
*
*/
/* DIB constants */
#define PALVERSION 0x300
/* DIB macros */
#define IS_WIN30_DIB(lpbi) ((*(LPDWORD)(lpbi)) == sizeof(BITMAPINFOHEADER))
#define RECTWIDTH(lpRect) ((lpRect)->right - (lpRect)->left)
#define RECTHEIGHT(lpRect) ((lpRect)->bottom - (lpRect)->top)
/* function prototypes */
HANDLE AllocRoomForDIB(BITMAPINFOHEADER bi, HBITMAP hBitmap);